<template>
  <div class="box">
    <div class="list">

    </div>
  </div>
</template>

<script>
export default {
  name: "orderList",
  data(){
    return {
      size : 8,
      current : 1,
    }
  },
  created() {
    this.getList()
  },
  methods : {
    getList(){
      this.axios
      .post("/api/order/pages", {
        size : this.size,
        current : this.current,
      })
      .then((res) => {
        if (res.status == 200){
          this.product = res.data.records
        }
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.box{
  width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
  .list {
    padding: 20px 0;
  }
}
</style>